const SentryCliPlugin = require("@sentry/webpack-plugin");
module.exports = function override(config, env) {
  config.devtool = "source-map";
  config.plugins.push(
    new SentryCliPlugin({
      release: "0.0.1",
      authToken:
        "9a55c2dbfbfc47e3952c7404ec1d57c90447b55dfba2469f986157569357c89b",
      url: "http://127.0.0.1:9000",
      org: "sentry",
      project: "sentry-react-review",
      urlPrefix: "~/",
      include: "./build",
      ignore: ["node_modules"],
    })
  );
  return config;
};
